package com.Aug.entity;

import java.io.Serializable;

public class User implements Serializable {

    private static final Long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private String password;
    private String profile;

    private Dept dept;

    public User() {
    }

    public User(String name, String password, String profile) {
        this.name = name;
        this.password = password;
        this.profile = profile;
    }

    public User(String name, String password, String profile, Dept dept) {
        this.name = name;
        this.password = password;
        this.profile = profile;
        this.dept = dept;
    }

    public User(Integer id, String name, String password, String profile) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.profile = profile;
    }

    public User(Integer id, String name, String password, String profile, Dept dept) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.profile = profile;
        this.dept = dept;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", profile='" + profile + '\'' +
                ", dept=" + dept +
                '}';
    }
}
